package com.itheima.myException;

public class Demo2 {
    public static void main(String[] args) {
        int[] arr = new int[3];
        System.out.println(arr[0]);

        try {
            System.out.println(arr[3]);
        } catch (ArrayIndexOutOfBoundsException e) {
            System.out.println("z");
        }
        System.out.println("HelloWorld");
    }
}
